﻿namespace PoemGame.Query;
/// <summary>
/// 游戏相关查询结果，
/// </summary>
public class GameRes
{
    public GameRes()
    {

    }
    public GameRes(Guid id, 
        string gameCondition, 
        string description,
        string gameType_MainType,
        string gameType_SubType, 
        DateTime? gameCreateTime, 
        DateTime? gameStartTime, 
        DateTime? gameEndTime, 
        int playType, 
        int status, 
        bool isDeleted)
    {
        Id = id;
        GameCondition = gameCondition;
        Description = description;
        GameType_MainType = gameType_MainType;
        GameType_SubType = gameType_SubType;
        GameCreateTime = gameCreateTime;
        GameStartTime = gameStartTime;
        GameEndTime = gameEndTime;
        PlayType = playType;
        Status = status;
        IsDeleted = isDeleted;
    }

    /// <summary>
    /// 游戏Id
    /// </summary>
    public Guid Id { get; set; }
    /// <summary>
    /// 游戏条件
    /// </summary>
    public string GameCondition { get;  set; }
    /// <summary>
    /// 游戏说明
    /// </summary>
    public string Description { get;  set; }
    /// <summary>
    /// 游戏类型
    /// </summary>
    public string GameType_MainType { get;  set; }
    /// <summary>
    /// 游戏子类型
    /// </summary>
    public string GameType_SubType { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime? GameCreateTime { get;  set; }
    /// <summary>
    /// 开始时间
    /// </summary>
    public DateTime? GameStartTime { get;  set; }
    /// <summary>
    /// 结束时间
    /// </summary>
    public DateTime? GameEndTime { get;  set; }
    /// <summary>
    /// 作答类型
    /// </summary>
    public int PlayType { get;  set; }
    /// <summary>
    /// 游戏状态
    /// </summary>
    public int Status { get; set; }
    /// <summary>
    /// 是否被删除，来源于游戏管理
    /// </summary>
    public bool IsDeleted { get; set; }
}